package com.itheima.vms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.vms.domain.po.ItemCategory;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 商品分类表 Mapper 接口
 * </p>
 *
 * @author shenkunlin
 * @since 2025-08-02
 */
public interface CategoryMapper extends BaseMapper<ItemCategory> {

    List<ItemCategory> listAll();

    List<ItemCategory> selectList(@Param("query") Map<String, Object> query);
}
